<template>
  <div id="app">
    <el-container>
      <el-header>
        蜗牛学院 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎你 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <myheader></myheader>
        登录
      </el-header>
      <el-scrollbar>
      <el-container>
        <el-aside >
          <Aside></Aside>
          </el-aside>
        <el-main>
          <Breadcrumb></Breadcrumb>
          <Inputbox></Inputbox>
          <MyList></MyList>
          <page></page>
          </el-main>
      </el-container>
      </el-scrollbar>
    </el-container>
    <!-- <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link> |
      <router-link to="/about1">About1</router-link>
    </div> -->
    <router-view />
  </div>
  
</template>

<script>
//声子
import myheader from '@/components/header.vue'
import Aside from '@/components/Aside.vue'
import MyList from '@/views/mylist/MyList.vue'
import Inputbox from '@/components/Inputbox.vue'
import page from '@/components/page.vue'
import Breadcrumb from '@/components/Breadcrumb.vue'
export default {
  //挂子
 components:{
   myheader,
   Aside,
   MyList,
   Inputbox,
   page,
   Breadcrumb
 }
}
</script>

<style>

 .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 10px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 40px;
  }
  
</style>
